package Assignment;

public class Test2 {
    public static void main(String[] args) {

        //定义红茶和绿茶的原始存款
        int redTea = 21, greenTea = 23;

        //攒钱后
        redTea = redTea * 2 + 3;
        greenTea = greenTea * 2;

        System.out.println(redTea);
        System.out.println(greenTea);

        if (redTea == greenTea){
            System.out.println("一样");
        } else if (redTea > greenTea) {
            System.out.println("红茶多");
        }else{
            System.out.println("绿茶多");
        }
    }
}
